package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.User;
import com.pj.wisdomlogistics.entity.VersionEntity;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;



public interface SplashContract {
    public interface View extends BaseView {
        public void showCheckResult(User user);
        public void showVersion(VersionEntity version);
        public void onError(int errorCode, String errorMsg , String errorID);
        void showLoginSuccess(User user);
    }

    public interface Presenter extends BasePresenter {
        public void checkLogin(String accessToken);
        public void checkVersion();
        public void login(String username, String password);
        public void login_jc(String username);
    }


}
